package com.aiboleepro.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 业务处理失败异常
 *
 * @author aiboleepro
 * @date 2018-07-08 下午1:01
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseException extends RuntimeException {

    /**
     * 错误编码
     */
    private Integer code;
    /**
     * 错误描述
     */
    private String desc;
}
